import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
// import ElementPlus from 'element-plus'
// import 'element-plus/dist/index.css'
// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

// Vue.use(ElementUI);
Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$store = store


const app = new Vue({
  ...App
})


// const app = createApp(App)

// App.mpType = 'app'
// app.use(ElementPlus)
// app.mount('#app')
// new Vue({
//   el: '#app',
//   render: h => h(App)
// });

app.$mount()
